package com.greenline.push.service.core.task;

/**
 * 任务信息
 * 
 * @author weirui.shenwr
 * 
 */
public class TaskInfo {

    /**
     * taskType长度不超过40
     * 
     * @param taskType
     */
    public TaskInfo(String taskType) {
        this.taskType = taskType;
    }

    /**
     * 任务类型
     */
    private final String taskType;

    /**
     * 是否成功
     */
    private boolean isSeccusss;

    /**
     * 消息
     */
    private String message;
    /**
     * 业务主键、用|分隔
     * 
     */
    private String bizKey;

    /**
     * 任务的业务结果（成功、失败等）
     * 
     */
    private String bizResult;

    /**
     * 计数
     */
    private long count;

    public String getTaskType() {
        return taskType;
    }

    public boolean isSeccusss() {
        return isSeccusss;
    }

    public void setSeccusss(boolean isSeccusss) {
        this.isSeccusss = isSeccusss;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public String getBizKey() {
        return bizKey;
    }

    public void setBizKey(String bizKey) {
        this.bizKey = bizKey;
    }

    public String getBizResult() {
        return bizResult;
    }

    public void setBizResult(String bizResult) {
        this.bizResult = bizResult;
    }

}
